/**
 * The Community Project
 * Copyright Team1 Productions
 * 
 * Joshua Amick
 * Stephen Cunningham
 * Thema Davis
 * Tomika Dawson
 * Lucie DeCristofaro
 * 
 * All Rights Reserved.
 */

package com.forms;

import org.apache.struts.action.ActionErrors;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionMapping;

public class EditProfileForm extends BaseCommunityForm {

    private String userId;
    private String firstName;
    private String lastName;
    private String address1;
    private String address2;
    private String city;
    private String state;
    private String zip;
    private String secondaryEmail;
    private String phone;
    private String employer;
    private String positionDescription;
    private String empStartYear;
    private String empStartMonth;
    private String empStartDay;
    private String education;
    private String major;
    private String gradYear;
    private String gradMonth;
    private String gradDay;
    private String professionalOrganizations;
    private String studentOrganizations;
    private String publicViewable;
    private String subscribedToEmails;
    private String isAdminUser;

    public ActionErrors getActionErrors() {
        if (errors == null) {
            errors = new ActionErrors();
        }

        return errors;
    }
    

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getAddress1() {
        return address1;
    }

    public void setAddress1(String address1) {
        this.address1 = address1;
    }

    public String getAddress2() {
        return address2;
    }

    public void setAddress2(String address2) {
        this.address2 = address2;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }


    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getSecondaryEmail() {
        return secondaryEmail;
    }

    public void setSecondaryEmail(String secondaryEmail) {
        this.secondaryEmail = secondaryEmail;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmployer() {
        return employer;
    }

    public void setEmployer(String employer) {
        this.employer = employer;
    }

    public String getPositionDescription() {
        return positionDescription;
    }

    public void setPositionDescription(String positionDescription) {
        this.positionDescription = positionDescription;
    }

    public String getEmpStartYear() {
        return empStartYear;
    }

    public void setEmpStartYear(String empStartYear) {
        this.empStartYear = empStartYear;
    }

    public String getEmpStartMonth() {
        return empStartMonth;
    }

    public void setEmpStartMonth(String empStartMonth) {
        this.empStartMonth = empStartMonth;
    }
    
    public String getEmpStartDay() {
        return empStartDay;
    }

    public void setEmpStartDay(String empStartDay) {
        this.empStartDay = empStartDay;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getGradYear() {
        return gradYear;
    }

    public void setGradYear(String gradYear) {
        this.gradYear = gradYear;
    }

    public String getGradMonth() {
        return gradMonth;
    }

    public void setGradMonth(String gradMonth) {
        this.gradMonth = gradMonth;
    }
    
    public String getGradDay() {
        return gradDay;
    }

    public void setGradDay(String gradDay) {
        this.gradDay = gradDay;
    }

    public String getProfessionalOrganizations() {
        return professionalOrganizations;
    }

    public void setProfessionalOrganizations(String professionalOrganizations) {
        this.professionalOrganizations = professionalOrganizations;
    }    

    public String getStudentOrganizations() {
        return studentOrganizations;
    }

    public void setStudentOrganizations(String studentOrganizations) {
        this.studentOrganizations = studentOrganizations;
    }    

    public String getPublicViewable() {
        return publicViewable;
    }

    public void setPublicViewable(String publicViewable) {
        this.publicViewable = publicViewable;
    }

    public String getSubscribedToEmails() {
        return subscribedToEmails;
    }

    public void setSubscribedToEmails(String subscribedToEmails) {
        this.subscribedToEmails = subscribedToEmails;
    }
    
    public String getIsAdminUser() {
        return isAdminUser;
    }
    
    public void setIsAdminUser(String isAdminUser) {
        this.isAdminUser = isAdminUser;
    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request)
    {
        this.publicViewable = "false";
        this.subscribedToEmails = "false";
        this.isAdminUser = "false";
    }
    
}
